package com.fourforfo.fourmall.product.feign;

import com.fourforfo.common.to.es.SkuEsModel;
import com.fourforfo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient("fourmall-search")
public interface SearchFeignService {


    //上架商品
    @PostMapping("/search/save/product")
    R productStatusUp(List<SkuEsModel> skuEsModels);
}
